package com.cby.springboot.demo.mapper;

import com.cby.springboot.demo.bean.AdminRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminRoleMapper {

    @Select("select * from admin_role where id = #{id}")
    AdminRole findById(@Param("id") int id);
}
